package com.vogue.supplymall.shop.domain.service;

import com.vogue.supplymall.shop.domain.model.Administrativearea;

import java.util.List;

/**
 * The interface Administrativearea service.
 *
 * @aouthor: zhangliang
 * @date: Create in 2017-12-25
 */
public interface AdministrativeareaService extends BaseService<Administrativearea, Long> {

    /**
     * Find area by level list.
     *
     * @param level the level
     * @return the list
     */
    List<Administrativearea> findAreaByLevel(Integer level);
    /**
     * 找到level等级下的所有地区信息
     */
    List<Administrativearea> findAllAreaOfMinLevel(Integer level);
}
